import { Logger } from "./Logger"
import { EventManager } from "./EventManager";
import DateUtil from "./DateUtil";

export class TimerUtil {

    public static init() {
        setInterval(() => {
            try {

                let now: number = DateUtil.now();
                // EventManager.instance.dispatch(Config.Event_Config.Timer, now)
            } catch (error) {
                Logger.error("TimerUtil.error=-=", error)

            }
        }, 50)
    }
}